package ModelLayer;

import java.sql.Timestamp;

public class Comment extends DateHelper {

	private int cid = -1;
	private int id;
	private String comment;
	private String author;
	private int authorId;
	
	
	public Comment() {
		super();
	}
	
	public Comment(String comment, int authorId, int id) {
		super();
		
		this.comment = comment;
		this.authorId = authorId;
		this.id = id;
	}
	
	public Comment(int cid, String comment, int authorId, Timestamp date) {
		super(date);
		
		this.cid = cid;
		this.comment = comment;
		this.authorId = authorId;
	}
	
	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}
	
	

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}
	
	public int getAuthorId() {
		return authorId;
	}

	public void setAuthorId(int authorId) {
		this.authorId = authorId;
	}
}
